<div class="dialog-body">
    <form class="layui-form">
        <ul class="dialog-body-ul">
            <li class="dialog-body-li">
                <div class="dialog-body-item">
                    <div class="dialog-label">备料单号</div>
                    <div class="dialog-content">
                        <input type="text" class="layui-input" ng-model="warehouse.blCode"/>
                    </div>
                </div>
                <div class="dialog-body-item">
                    <div class="dialog-label">指定装车道</div>
                    <div class="dialog-content">
                        <ui-select ng-model="ngDialogData.dropDownDefault.truckLoading">
                            <ui-select-match>
                                <span ng-bind="$select.selected.name" ></span>
                            </ui-select-match>
                            <ui-select-choices repeat="truckLoading in (ngDialogData.truckLoadingList | filter: $select.search) track by truckLoading.value">
                                <span ng-bind="truckLoading.name"></span>
                            </ui-select-choices>
                            <ui-select-no-choice>
                                没有加载到数据
                            </ui-select-no-choice>
                        </ui-select>
                    </div>
                </div>
                <div class="dialog-body-item">
                    <div class="dialog-label">指定移库司机</div>
                    <div class="dialog-content">
                        <input type="text" class="layui-input" ng-model="warehouse.blMoveDriverName"/>
                    </div>
                </div>
            </li>

            <li class="dialog-body-li">
                <div class="dialog-body-item">
                    <div class="dialog-label">创建时间</div>
                    <div class="dialog-content">
                        <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="warehouse.gmtCreate" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                    </div>
                </div>
                <div class="dialog-body-item">
                    <div class="dialog-label">板车车牌号</div>
                    <div class="dialog-content">
                        <input type="text" class="layui-input" ng-model="warehouse.blVehiclePlate"/>
                    </div>
                </div>
                <div class="dialog-body-item">
                    <div class="dialog-label">调度单号</div>
                    <div class="dialog-content">
                        <input type="text" class="layui-input layui-disabled" ng-model="warehouse.blDispatchNo" ng-readonly = 'true'/>
                    </div>
                </div>
            </li>
        </ul>
    </form>
    <table class="layui-table">
        <tbody>
            <tr class="">
                <th>序号</th>
                <th>底盘号</th>
                <th>运单号</th>
                <th>库区</th>
                <th>库位</th>
                <th>车辆描述</th>
                <th>目的地</th>
            </tr>
            <tr ng-repeat="warehouse in ngDialogData.warehouseList">
                <td ng-bind="$index + 1"></td>
                <td ng-bind="warehouse.oodVin"></td>
                <td ng-bind="warehouse.oodWaybillNo"></td>
                <td ng-bind="warehouse.oodZoneName"></td>
                <td ng-bind="warehouse.oodLcoationName"></td>
                <td ng-bind="warehouse.oodVehicleSpecDesc"></td>
                <td ng-bind="warehouse.oodDest"></td>
            </tr>
        </tbody>
    </table>
</div>

<div class="dialog-toolbar">
    <button class="layui-btn" ng-click="addWarehouseClick()">保存</button>
    <button class="layui-btn" ng-click="closeThisDialog()">取消</button>
    <button class="layui-btn">打印</button>
</div>
